I am trying to override a service escalation policy when creating an incident via the incident-creation-api. I want to include more than one escalation policy to the payload but am not sure this is supported. When trying the requests I get 201s but I do not get the expected policy notifications.
An example is:
{
"incident": {
"type": "incident",
"title": "{{issue.summary}}",
"service": {
"id": "PNAZ6IC",
"type": "service_reference"
},
"body": {
"type": "incident_body",
"details": "TEST TEST TEST"
}
},
"escalation_policy": [
{
"id": "P5G3TNZ",
"type": "escalation_policy_reference"
},
{
"id": "P33H9RE",
"type": "escalation_policy_reference"
}
]
}
It seems the behavior is to use the service instead of the passed in array of escalation policies.
Is this possible? If not, is there a work around?